f1bfaa6b0185e7c68131b7dfa04873570dfcceaf,SoulissApp/src/main/java/it/angelic/soulissclient/model/db/SoulissDBLauncherHelper.java,SoulissDBLauncherHelper,getDefaultStaticDBLauncherElements,#Context#,185

Before Change


        LauncherElement pro = new LauncherElement(LauncherElementEnum.STATIC_PROGRAMS);
        pro.setTitle(context.getString(R.string.programs_title));
        scenari.setOrder((short) 4);
        pro.setDesc(countTriggers() + " programmi attivi");
        ret.add(pro);

        return ret;

After Change



        scenari.setTitle(context.getString(R.string.scenes_title));
        scenari.setOrder((short) 0);
        scenari.setDesc(context.getResources().getQuantityString(R.plurals.scenes_plur,
                countScenes(), countScenes()) + " " + context.getString(R.string.string_configured));
        ret.add(scenari);

        LauncherElement prob = new LauncherElement(LauncherElementEnum.STATIC_TAGS);
        prob.setDesc(context.getResources().getQuantityString(R.plurals.tags_plur,
                countTags(), countTags()));
        prob.setTitle(context.getString(R.string.tags));
        scenari.setOrder((short) 1);
        ret.add(prob);

        LauncherElement prop = new LauncherElement(LauncherElementEnum.STATIC_STATUS);
        prop.setTitle(context.getString(R.string.status_souliss));
        prop.setIsFullSpan(true);
        scenari.setOrder((short) 2);
        ret.add(prop);

        LauncherElement man = new LauncherElement(LauncherElementEnum.STATIC_MANUAL);
        man.setTitle(context.getString(R.string.manual_title));
        scenari.setOrder((short) 3);
        man.setDesc(countNodes() + " nodi presenti");
        ret.add(man);

        LauncherElement pro = new LauncherElement(LauncherElementEnum.STATIC_PROGRAMS);
        pro.setTitle(context.getString(R.string.programs_title));
        scenari.setOrder((short) 4);
        pro.setDesc(context.getResources().getQuantityString(R.plurals.programs_plur,
                countTriggers(), countTriggers()));//FIXME count progs
        ret.add(pro);

        return ret;